package com.hmdp.mapper;

import com.hmdp.entity.OperateLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author tttshaoqi
 * &#064;create 2025-08-01-21:46
 */
@Mapper
public interface OperateLogMapper {

    @Insert("insert into tb_operate_log(id, operate_user, operate_time, class_name, method_name, method_params, return_value, cost_time)" +
            "value (null,#{operateUser},#{operateTime},#{className},#{methodName},#{methodParams},#{returnValue},#{costTime})")
    void insert(OperateLog operateLog);

}
